GtkApplication: Fix two muxer-related memory leaks
authorKalev Lember <kalevlember@gmail.com>
Mon, 19 May 2014 11:19:11 +0000 (13:19 +0200)
committerKalev Lember <kalevlember@gmail.com>
Sun, 25 May 2014 08:49:27 +0000 (10:49 +0200)
commit750f6b9913c092fbadec5e2421c153536ef83004
treebdb41282062765986df06a36f3e89975e73e6c3a
parent8230299748c5948ad64a95fa473128bca61efaf8
GtkApplication: Fix two muxer-related memory leaks

Drop the ref on the action muxer in finalize, and also make sure
shutdown() tears down the muxer setup done in startup().

When GtkApplication adds itself to a muxer, it causes the muxer to take
a ref on the GtkApplication. This has to be undone in shutdown() to make
sure the GtkApplication doesn't end up holding a ref on itself.

https://bugzilla.gnome.org/show_bug.cgi?id=730383
gtk/gtkapplication.c